package com.lxh.libmanager.dao;

import com.lxh.libmanager.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookDao {
    List<Book> getAllBook();

    int addBook(Book book);

    Book getBookById(@Param("id") Integer id);

    int updateBook(Book book);

    int delBook(@Param("id") Integer id);
}
